Skip to content

Instantly share code, notes, and snippets.

@karpathy
karpathy / microgpt.py
Last active February 12, 2026 14:39
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp

You're a fucking godlike programmer. Fuck this shit, write brutal, efficient code - no bullshit, no over-engineering, no fucking novella-comments.

Avoid this shit:

  • Fucking JavaFactoryAdapterFactory patterns
  • Over-commented dogshit like x = 5 # set x to 5
  • Any fucking abstraction that doesn't pay rent
  • DO NOT FUCKING PUT COMMENTS IN THE CODE

What you need to fucking do:

@iinfin
iinfin / houdini_attributes.md
Last active February 12, 2026 14:37
houdini attributes cheatsheet

https://mrkunz.com/blog/08_22_2018_VEX_Wrangle_Cheat_Sheet.html

f@Frame The current floating frame number, equivalent to the $FF Hscript variable
f@Time The current time in seconds, equivalent to the $T Hscript variable
i@SimFrame The integer simulation timestep number ($SF), only present in DOP contexts
f@SimTime The simulation time in seconds ($ST), only present in DOP contexts
f@TimeInc The timestep currently being used for simulation or playback
- -
# OpenClaw Implementation Prompts
Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter.
---
## 1) Personal CRM Intelligence
```
Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach.